What issue arises when returning an array from a function in C